﻿using System;

namespace NetCoreCMS.Models
{
    /// <summary>
    /// 会员短消息
    /// </summary>    
    public partial class User_message 
    {
        public int id { get; set; }
        /// <summary>
        /// 短信息类型0系统消息1收件箱2发件箱
        /// </summary>
        public int type { get; set; } = 1;
        /// <summary>
        /// 发件人
        /// </summary>
        public string post_user_name { get; set; }
        /// <summary>
        /// 收件人
        /// </summary>
        public string accept_user_name { get; set; }
        /// <summary>
        /// 是否查看0未阅1已阅
        /// </summary>
        public int is_read { get; set; } = 0;
        /// <summary>
        /// 短信息标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 短信息内容
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime post_time { get; set; } = DateTime.Now;
        /// <summary>
        /// 阅读时间
        /// </summary>
        public DateTime? read_time { get; set; }
    }
}